package com.pocket.insight.base.context;

import com.google.common.collect.Sets;
import org.apache.commons.lang3.tuple.Pair;

import java.lang.reflect.Method;
import java.util.*;

/**
 * 描述：
 *
 * @author shuize
 * @create 2024/12/13
 */
public class MethodConst {
    public static final String                                        APP_SERVICE_SET_APP_PARAM_CURRENT_VALUE_BY_OPTIONS = "com.pocket.insight.service.AppService|setAppParamCurrentValueByOptions";
    public static final Set<Pair<String, Pair<String, List<String>>>> PRESET_METHOD_SIGNATURES                           = Sets.newHashSet(new Pair[]{Pair.of("com.pocket.insight.service.AppService|setAppParamCurrentValueByOptions", Pair.of("com.pocket.insight.service.AppService|setAppParamCurrentValueByOptions".split("\\|")[1], Arrays.asList("java.lang.Long", "java.lang.String", "com.pocket.insight.model.AppParam$Options")))});
    public static final Map<String, Pair<Method, Object>>             PRESET_METHOD_MAP                                  = new HashMap();
}
